/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Dms.Model
{

    /// <summary>
    ///  columnInfo
    /// </summary>
    public class ColumnInfo
    {

        ///<summary>
        /// 列名。
        ///</summary>
        public string ColumnName{ get; set; }
        ///<summary>
        /// 新列名，修改表结构时使用。
        ///</summary>
        public string NewColumnName{ get; set; }
        ///<summary>
        /// 列类型。
        ///</summary>
        public string DataType{ get; set; }
        ///<summary>
        /// 列类型, 返回int(3), varchar(64)等。
        ///</summary>
        public string ColumnType{ get; set; }
        ///<summary>
        /// 列长度。
        ///</summary>
        public int? ColumnLength{ get; set; }
        ///<summary>
        /// 浮点数小数点后位数。
        ///</summary>
        public int? ColumnScale{ get; set; }
        ///<summary>
        /// 是否为空。
        ///</summary>
        public bool IsNull{ get; set; }
        ///<summary>
        /// 默认值。
        ///</summary>
        public string DefaultValue{ get; set; }
        ///<summary>
        /// 列注释。
        ///</summary>
        public string ColumnComment{ get; set; }
        ///<summary>
        /// 是否自增。
        ///</summary>
        public bool IsAutoIncrease{ get; set; }
        ///<summary>
        /// 是否为主键。
        ///</summary>
        public bool IsPrimaryKey{ get; set; }
    }
}
